import './css/index.css'
import './less/index.less'
import logo from './assets/logo_small.png'
import gif from './assets/1.gif'
import './assets/fonts/iconfont.css'
import { fn } from './js/index.js'

// 创建一个img标签
const img1 = document.createElement('img')
// 给img加属性
img1.src = logo
// 将img标签加给body
document.body.appendChild(img1)
// 创建一个img标签
const img2 = document.createElement('img')
// 给img加属性
img2.src = gif
// 将img标签加给body
document.body.appendChild(img2)

const i1 = document.createElement('i')
i1.className = 'iconfont icon-qq'
document.body.appendChild(i1)
const i2 = document.createElement('i')
i2.className = 'iconfont icon-weixin'
document.body.appendChild(i2)

fn()
console.log(fn);